package com.hb.software.entity.user;

import com.hb.software.domain.BaseEntity;
import com.hb.software.entity.worker.Worker;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain=true)
public class User extends BaseEntity<Long> implements Serializable {
    Worker worker;
    private String username;
    private String password;
    private String role="0";
    private int states = 0 ;
}